package cate.common.table.pvp.eliterace;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;
import lombok.Getter;

@Getter
public class EliteRaceSupportLevel extends ERow {

    @NoteField(value = "任务ID")
    private int taskId;

    @NoteField(value = "经验")
    public long exp;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.taskId = xrw.getInteger("任务ID", 0);
        this.exp = xrw.getLong("经验", 0L);
    }
}
